<!--评论主体-->
<link rel="stylesheet" type="text/css" href="{THEME_PATH}assets/comment/css/embed.css" />
<script type="text/javascript">
    var comment_url = '{$post_url}';
    function dr_todo_ajax_2() {
        {$js}(0, 1);
    }
</script>
<script type="text/javascript" src="{THEME_PATH}assets/comment/embed.js"></script>
{php $fengge = '1_'.MOD_DIR.'_form_son';}
{php $pkbiaoqians = '1_'.MOD_DIR.'_form_son_pk';}
{php $fengges = '1_'.MOD_DIR.'';}
{php $fengge=\Phpcmf\Service::M()->db->table($fengge)->where('id', $id)->get()->getRowArray();}
{php $fengges=\Phpcmf\Service::M()->db->table($fengges)->where('id', $fengge['cid'])->get()->getRowArray();}

<div id="ds-reset">
	<!--第二层评论-->
	<div class="ds-replybox" id="dr_post_form_erji_2" style="display:none;">
		<form class="ds_form_post form" method="post" id="myform_comment_erji_2">
			{dr_form_hidden()}
		    <div class="{if $fengges['fengge'] == 1}d-container{else}d-container-300{/if} d-dibu-pinglun-200" >
		    	<div class="row ">
		    		<div class="{if $fengges['fengge'] == 1}col-md-8{else}col-md-12{/if} col-xs-12 d-yincang-00">
		    			<div class="username">
		    			</div>
		    			<div class="d-xia-10 d-wenzi-18 pull-right d-zuoyou-20 d-shang-10" onclick="dr_reply_show_erji_2()"><i class="bi bi-x-circle-fill"></i></div>
		    			<div class="d-beijing-chengse d-neikuang-30-30 d-yuanjiao-bianhua-10-10">
		    				<div class=" d-yuanjiao-10 ">
		    					<div class="d-beijing-chengse ">
		    							<input type="text" placeholder="content" class="dierceng">
		    							<div class="d-kuan d-buhuanhang ">
		    								<div class="d-kuan-40 ">
		    									<img src="{dr_avatar($member.uid)}" width="38" class="d-yuanjiao-50">
		    								</div>
		    								<div class="d-kuan d-zuo-10 d-you-10">
		    									<textarea class="J_CmFormField form-control" name="content" placeholder="说说您的想法…"></textarea>
		    								</div>
		    								<div class="d-kuan-50">
		    									<div class="">
		    										<button class="d-fabu" type="button" onclick="dr_post_comment_erji_2()">
		    											<img src="{HOME_THEME_PATH}{MOD_DIR}/img/fabu1.png" width="35" class="d-yuanjiao-10"/>
		    										</button>
		    									</div>
		    									
		    								</div>
		    								<div class="d-clear"></div>
		    							</div>
		    							
		    							<div class="d-clear"></div>
		    							<div class="d-kuan">
		    								<div class="d-shang-5 d-zuo-50">
		    									<a class="ds-toolbar-button ds-add-emote" onclick="dr_show_bq()" title="插入表情"></a>
		    								</div>
		    							</div>
		    							<div class="ds-clear"></div>
		    					</div>
		    				</div>
		    			</div>
		    		</div>
		    	</div>
		    </div>
		    <div class="ds-clear"></div>
		</form>
	</div>
	<!---->
	<div class="{if $fengges['fengge'] == 1} d-container {else} d-container-300 {/if} d-dibu-pinglun ">
		<div class="row ">
			<div class="{if $fengges['fengge'] == 1}col-md-8{else}col-md-12{/if} col-xs-12">
				<div class="d-beijing-baise {if $fengges['fengge'] == 1} d-neikuang-30-30{else} d-neikuang-10{/if} d-yuanjiao-bianhua-10-10">
					<div class=" d-yuanjiao-10 ">
						<!---->
						<div class="d-beijing-baise " id="dr_post_form_2">
							<form class="ds_form_post form" method="post" id="myform_comment_2">
								{dr_form_hidden()}
								{if $myfield}
								<div class="ds-myfield form-horizontal">
									<div class="form-body">
										{$myfield}
									</div>
								</div>
								{/if}
								{if $review}
								<style>
									.ds-avatar-top { margin-top: 10px; }
								</style>
								<div class="ds-review" id="dr_review_post">
									<ul>
										{loop $review.option $i $name}
										<li>
											<input id="dr_review_option_{$i}" type="hidden" name="review[{$i}]" value="0">
											<span class="opname">{$name}：</span>
											<span class="commstar">
												{loop $review.value $ii $v}
												<a id="dr_review_value_{$i}_{$ii}" class="dr_review_value_{$i} star{$ii}" href="javascript:dr_review_value({$i}, {$ii});" title="{$v}">&nbsp;</a>
												{/loop}
											</span>
										</li>
										{/loop}
									</ul>
								</div>
								<div class="ds-clear"></div>
								{/if}
								<div class="d-kuan d-buhuanhang ">
									<div class="d-kuan-40 ">
										<img src="{dr_avatar($member.uid)}" width="38" class="d-yuanjiao-50">
									</div>
									<div class="d-kuan d-zuo-10 d-you-10">
										<textarea class="J_CmFormField form-control" name="content" placeholder="说说您的想法…"></textarea>
									</div>
									<div class="d-kuan-50">
										<div class="">
											<button class="d-fabu" type="button" onclick="dr_post_comment_2()">
												<img src="{HOME_THEME_PATH}{MOD_DIR}/img/fabu1.png" width="35" class="d-yuanjiao-10"/>
											</button>
										</div>
										
									</div>
									<div class="d-clear"></div>
								</div>
								
								<div class="d-clear"></div>
								<div class="d-kuan">
									<div class="d-shang-5 d-zuo-50">
										<a class="ds-toolbar-button ds-add-emote" onclick="dr_show_bq()" title="插入表情"></a>
									</div>
								</div>
								<div class="ds-clear"></div>
							</form>
							
						</div>
						
					</div>
				</div>
			</div>
		</div>
	</div>

    <div class="d-kuan {if $fengges['fengge'] == 1}d-shang-20{else}{/if}">
    	<div class="col-xs-3 d-hanggao-30">
    		<a class="ds-comments-tab-duoshuo ds-current" href="javascript:void(0);">
    		    <span class="ds-highlight">{$commnets}</span>条
    		</a>
    	</div>
    	<div class="col-xs-3 d-wenzi-juzhong d-wenzi-16">
    		<a class="ds-order-desc {if !$type}ds-current d-jiacu{/if}" href="javascript:{$js}(0, 1);">
    		    最新
    		</a>
    	</div>
    	<div class="col-xs-3 d-wenzi-juzhong d-wenzi-16">
    		<a class="ds-order-asc {if $type==1}ds-current d-jiacu{/if}" href="javascript:{$js}(1, 1);">
    		    最早
    		</a>
    	</div>
    	<div class="col-xs-3">
    		
    	</div>
    	<div class="d-clear"></div>
    </div>
    {php $pinglun = '1_'.MOD_DIR.'_form_son_comment';}
    <ul id="dr_comment_list_2" class="ds-comments">
        {loop $list $t}
            {if $member.id == $t.uid}
			    <!--第一层-->
			    <div class="d-kuan d-buhuanhang d-shang-20 d-neikuang-10">
			    	<div class="d-kuan-40">
			    		
			    	</div>
			    	<div class="d-kuan d-zuo-10 d-you-10 ">
						
			    		<div class="d-zitiyanse-hui d-xia-10">
							
						{php $pkbiaoqian=\Phpcmf\Service::M()->db->table($pkbiaoqians)->where('cid', $id)->where('uid', $t.uid)->get()->getRowArray();}
						{if $pkbiaoqian['pkfang']==1}
						    <span class="d-zuo-10 pull-right">
						    	<span class="d-neikuang-1-5 d-wenzi-10 d-yuanjiao-5 d-zitiyanse-bai" style="background-color: #91bed5;">蓝 方</span>
						    </span>
						{elseif $pkbiaoqian['pkfang']==2}
							<span class="d-zuo-10 pull-right">
								<span class="d-neikuang-1-5 d-wenzi-10 d-yuanjiao-5 d-zitiyanse-bai" style="background-color: #f1785a;">红 方</span>
							</span>
						{/if}
			    		{if $t.uid == $fengges['uid']}
							<span class="d-zuo-10 pull-right">
								<span class="d-neikuang-1-5 d-wenzi-10 d-beijing-hei d-yuanjiao-5 d-zitiyanse-bai">圈 主</span>
							</span>
						{/if}
			    		<span class="pull-right d-zuo-10">{$t.author}</span> <span class="d-wenzi-12 pull-right">{dr_fdate($t.inputtime)}
			    		
			    		</span>
						<!--屏蔽-->
						<div class="pull-right " style="z-index: 999;">
							<div class="dropdown d-you-10 " >
								<a class="d-zuo-10" id="d-lahei" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
									<i class="fa fa-eye-slash d-wenzi-14 d-zitiyanse-hui-ca"></i>
								</a>
								<ul class="dropdown-menu pull-right " aria-labelledby="d-lahei" >
									<li><a  id="laheipinglunuidan" class="laheipinglunuid d-beijing-baise" data-uid="{$t.uid}"><span class="d-jiacu"><i class="fa fa-eye-slash d-wenzi-16"></i> 拉黑用户</span></br><span class="d-wenzi-12 ">不再看TA的所有帖子和评论</span></a></li>
									<li><a  id="laheipinglunan" class="laheipinglun d-beijing-baise" data-pid="{$t.id}"><i class="fa fa-eye-slash d-wenzi-16"></i><span class="d-jiacu"> 屏蔽评论</span></br><span class="d-wenzi-12 ">不再看这条评论</span></a></a></li>
								</ul>
							</div>
						</div>
						<!--屏蔽-->
			    		<div class="d-clear"></div>
			    		</div>
			    		<div class="d-beijing-baise pull-right d-beijing-baise d-neikuang-10 d-yuanjiao-10 d-huanhang d-wenzi-16 d-kuan-0 d-hanggao-24 d-a-hei">
			    			<a class="d-p-buhuanghang" href="javascript:void(0);" onclick="dr_reply_show_erji_2({$t.id}, '{$t.author}', {$t.id}, '{dr_strcut(dr_clearhtml($t.content), 20)}')">
			    			{dr_replace_emotion(nl2br(trim($t.content)))}
			    			</a>
			    
			    			<div class="d-clear"></div>
			    			
			    		</div>
			    		<div class="d-clear"></div>
			    	</div>
			    	<div class="d-kuan-40">
			    		<img src="{dr_avatar($t.uid)}" width="40" class="d-yuanjiao-50">
			    	</div>
			    	<div class="d-clear"></div>
			    </div>
			    <div class="ds-replybox2" id="dr_reply_erji_2_{$t.id}" style="display:none;">
			    </div>
			    <!--第二层-->
			    {if $t.rlist}
			        {loop $t.rlist $r}
			    		<div class="d-kuan d-buhuanhang d-neikuang-10-2">
			    			<div class="d-kuan-50">
			    				
			    			</div>
			    			<div class="d-kuan d-zuo-10 d-you-10 ">
			    				
			    				{if dr_comment_is_reply($is_reply, $member, $r.uid)}
			    				<!--a class="ds-post-reply" href="javascript:void(0);" onclick="dr_reply_show({$t.id}, '{$t.author}', {$t.id})">
			    					<span class="ds-ui-icon"></span>
			    					回复({count($t.rlist)})
			    				</a-->
			    				{/if}
			    				<div class="d-beijing-hei-e2 d-neikuang-10 d-yuanjiao-10 d-huanhang d-wenzi-16 d-kuan-0 d-hanggao-24 d-a-hui-82 pull-right">
			    					<img src="{dr_avatar($r.uid)}" width="20" class="d-yuanjiao-50 d-zuo-10"> 
			    					{if $r.uid == $index['uid']}
            							<span class="">
            								<span class="d-neikuang-1-5 d-wenzi-10 d-beijing-hei-cf d-yuanjiao-5 ">圈 主</span>
            							</span>
            						{/if}
			    					<a class="d-p-buhuanghang" href="javascript:void(0);" onclick="dr_reply_show_erji_2({$r.id}, '{$r.author}', {$r.id}, '{dr_strcut(dr_clearhtml($r.content), 20)}')">
			    					{dr_replace_emotion(nl2br(trim($r.content)))}
			    					<span class="d-wenzi-12">{dr_fdate($r.inputtime)}</span>
			    					</a>
			    					
			    					<div class="d-clear"></div>
			    					
			    				</div>
								
			    				<div class="d-clear"></div>
			    				
			    			</div>
			    			<div class="d-kuan-50">
								<!--屏蔽-->
								<div class="pull-right " style="z-index: 999;">
									<div class="dropdown d-you-10 " >
										<a class="d-zuo-10" id="d-lahei" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
											<i class="fa fa-eye-slash d-wenzi-14 d-zitiyanse-hui-ca"></i>
										</a>
										<ul class="dropdown-menu pull-right " aria-labelledby="d-lahei" >
											<li><a  id="laheipinglunuidan" class="laheipinglunuid d-beijing-baise" data-uid="{$r.uid}"><span class="d-jiacu"><i class="fa fa-eye-slash d-wenzi-16"></i> 拉黑用户</span></br><span class="d-wenzi-12 ">不再看TA的所有帖子和评论</span></a></li>
											<li><a  id="laheipinglunan" class="laheipinglun d-beijing-baise" data-pid="{$r.id}"><i class="fa fa-eye-slash d-wenzi-16"></i><span class="d-jiacu"> 屏蔽评论</span></br><span class="d-wenzi-12 ">不再看这条评论</span></a></a></li>
										</ul>
									</div>
								</div>
								<!--屏蔽-->
			    			</div>
			    			<div class="d-clear"></div>
			    		</div>
			    		<div class="ds-replybox2" id="dr_reply_erji_2_{$r.id}" style="display:none;">
			    		</div>
			    		<!--第三层-->
			    		{table table=$pinglun cid=$id reply=$r.id num=200 order=inputtime_asc return=huifusan}
			    			<div class="d-kuan d-buhuanhang d-neikuang-10-2">
			    				<div class="d-kuan-100">
			    					
			    				</div>
			    				<div class="d-kuan d-zuo-10 d-you-10 ">
			    					
			    					{if dr_comment_is_reply($is_reply, $member, $huifusan.uid)}
			    					<!--a class="ds-post-reply" href="javascript:void(0);" onclick="dr_reply_show({$t.id}, '{$t.author}', {$t.id})">
			    						<span class="ds-ui-icon"></span>
			    						回复({count($t.rlist)})
			    					</a-->
			    					{/if}
			    					<div class="d-beijing-hei-cf d-neikuang-10-2 d-yuanjiao-10 d-huanhang d-wenzi-16 d-kuan-0 d-hanggao-24 d-a-hui pull-right">
			    					    
			    						<img src="{dr_avatar($huifusan.uid)}" width="20" class="d-yuanjiao-50"> 
			    						{if $huifusan.uid == $index['uid']}
                							<span class="">
                								<span class="d-neikuang-1-5 d-wenzi-10 d-beijing-hei-e2 d-yuanjiao-5 ">圈 主</span>
                							</span>
                						{/if}
			    						<a class="d-p-buhuanghang" href="javascript:void(0);" onclick="dr_reply_show_erji_2({$r.id}, '{$huifusan.author}', {$r.id}, '{dr_strcut(dr_clearhtml($huifusan.content), 20)}')">
			    						{dr_replace_emotion(nl2br(trim($huifusan.content)))}
			    						<span class="d-wenzi-12">{dr_fdate($huifusan.inputtime)}</span>
			    						</a>
			    						<div class="d-clear"></div>
			    						
			    					</div>
			    					<div class="d-clear"></div>
			    					
			    				</div>
			    				<div class="d-kuan-50">
									<!--屏蔽-->
									<div class="pull-right " style="z-index: 999;">
										<div class="dropdown d-you-10 " >
											<a class="d-zuo-10" id="d-lahei" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
												<i class="fa fa-eye-slash d-wenzi-14 d-zitiyanse-hui-ca"></i>
											</a>
											<ul class="dropdown-menu pull-right " aria-labelledby="d-lahei" >
												<li><a  id="laheipinglunuidan" class="laheipinglunuid d-beijing-baise" data-uid="{$huifusan.uid}"><span class="d-jiacu"><i class="fa fa-eye-slash d-wenzi-16"></i> 拉黑用户</span></br><span class="d-wenzi-12 ">不再看TA的所有帖子和评论</span></a></li>
												<li><a  id="laheipinglunan" class="laheipinglun d-beijing-baise" data-pid="{$huifusan.id}"><i class="fa fa-eye-slash d-wenzi-16"></i><span class="d-jiacu"> 屏蔽评论</span></br><span class="d-wenzi-12 ">不再看这条评论</span></a></a></li>
											</ul>
										</div>
									</div>
									<!--屏蔽-->
			    				</div>
			    				<div class="d-clear"></div>
			    			</div>
			    			<div class="ds-replybox2" id="dr_reply_erji_2_{$huifusan.id}" style="display:none;">
			    			</div>
			    		{/table}
			    	{/loop}
			    {/if}
			{else}
			    <!--他人评论-->
				<div class="d-kuan d-buhuanhang d-shang-20 d-neikuang-10">
					<div class="d-kuan-40">
						<img src="{dr_avatar($t.uid)}" width="40" class="d-yuanjiao-50">
					</div>
					<div class="d-kuan d-zuo-10 d-you-10 "  style="z-index: 9999;">
						<div class="d-zitiyanse-hui">
						{php $pkbiaoqian=\Phpcmf\Service::M()->db->table($pkbiaoqians)->where('cid', $id)->where('uid', $t.uid)->get()->getRowArray();}
						{if $pkbiaoqian['pkfang']==1}
						    <span class="">
						    	<span class="d-neikuang-1-5 d-wenzi-10 d-yuanjiao-5 d-zitiyanse-bai" style="background-color: #91bed5;">蓝 方</span>
						    </span>
						{elseif $pkbiaoqian['pkfang']==2}
							<span class=" ">
								<span class="d-neikuang-1-5 d-wenzi-10 d-yuanjiao-5 d-zitiyanse-bai" style="background-color: #f1785a;">红 方</span>
							</span>
						{/if}
						{if $t.uid == $index['uid']}
							<span class="">
								<span class="d-neikuang-1-5 d-wenzi-10 d-beijing-hei d-yuanjiao-5  d-zitiyanse-bai">圈 主</span>
							</span>
						{/if}
						
						<span>{$t.author}</span> <span class="d-wenzi-12">{dr_fdate($t.inputtime)}</span>
						<!--屏蔽-->
						<div class="pull-right " style="z-index: 999;">
							<div class="dropdown d-you-10 " >
								<a class="d-zuo-10" id="d-lahei" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
									<i class="fa fa-eye-slash d-wenzi-14 d-zitiyanse-hui-ca"></i>
								</a>
								<ul class="dropdown-menu pull-right " aria-labelledby="d-lahei" >
									<li><a  id="laheipinglunuidan" class="laheipinglunuid d-beijing-baise" data-uid="{$t.uid}"><span class="d-jiacu"><i class="fa fa-eye-slash d-wenzi-16"></i> 拉黑用户</span></br><span class="d-wenzi-12 ">不再看TA的所有帖子和评论</span></a></li>
									<li><a  id="laheipinglunan" class="laheipinglun d-beijing-baise" data-pid="{$t.id}"><i class="fa fa-eye-slash d-wenzi-16"></i><span class="d-jiacu"> 屏蔽评论</span></br><span class="d-wenzi-12 ">不再看这条评论</span></a></a></li>
								</ul>
							</div>
						</div>
						<!--屏蔽-->
						</div>
						<div class="d-clear"></div>
						{if dr_comment_is_reply($is_reply, $member, $t.uid)}
						<!--a class="ds-post-reply" href="javascript:void(0);" onclick="dr_reply_show({$t.id}, '{$t.author}', {$t.id})">
							<span class="ds-ui-icon"></span>
							回复({count($t.rlist)})
						</a-->
						{/if}
						<div class="d-shang-10 {if $fengges['fengge'] == 1} d-beijing-baise{else} d-beijing-baise{/if} d-neikuang-10 d-yuanjiao-10 d-huanhang d-wenzi-16 d-kuan-0 d-hanggao-24 d-a-hei">
							<a class="d-p-buhuanghang" href="javascript:void(0);" onclick="dr_reply_show_erji_2({$t.id}, '{$t.author}', {$t.id}, '{dr_strcut(dr_clearhtml($t.content), 20)}')">
							{dr_replace_emotion(nl2br(trim($t.content)))}
							</a>
							<div class="d-clear"></div>
							
						</div>
						<div class="d-clear"></div>
						
					</div>
					<div class="d-kuan-40">
					</div>
					<div class="d-clear"></div>
				</div>

				<div class="ds-replybox2 " id="dr_reply_erji_2_{$t.id}" style="display:none;">
				</div>
				<!--第二层-->
				{if $t.rlist}
				<ul class="">
				    {loop $t.rlist $r}
						<div class="d-kuan d-buhuanhang d-neikuang-10-2">
							<div class="d-kuan-50">
								<!--屏蔽-->
								<div class="pull-right " style="z-index: 999;">
									<div class="dropdown d-you-10 " >
										<a class="d-zuo-10" id="d-lahei" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
											<i class="fa fa-eye-slash d-wenzi-14 d-zitiyanse-hui-ca"></i>
										</a>
										<ul class="dropdown-menu " aria-labelledby="d-lahei" >
											<li><a  id="laheipinglunuidan" class="laheipinglunuid d-beijing-baise" data-uid="{$r.uid}"><span class="d-jiacu"><i class="fa fa-eye-slash d-wenzi-16"></i> 拉黑用户</span></br><span class="d-wenzi-12 ">不再看TA的所有帖子和评论</span></a></li>
											<li><a  id="laheipinglunan" class="laheipinglun d-beijing-baise" data-pid="{$r.id}"><i class="fa fa-eye-slash d-wenzi-16"></i><span class="d-jiacu"> 屏蔽评论</span></br><span class="d-wenzi-12 ">不再看这条评论</span></a></a></li>
										</ul>
									</div>
								</div>
								<!--屏蔽-->
							</div>
							<div class="d-kuan d-zuo-10 d-you-10 ">
								
								{if dr_comment_is_reply($is_reply, $member, $r.uid)}
								<!--a class="ds-post-reply" href="javascript:void(0);" onclick="dr_reply_show({$t.id}, '{$t.author}', {$t.id})">
									<span class="ds-ui-icon"></span>
									回复({count($t.rlist)})
								</a-->
								{/if}
								<div class="d-beijing-hei-e2 d-neikuang-10 d-yuanjiao-10 d-huanhang d-wenzi-16 d-kuan-0 d-hanggao-24 d-a-hui-82">
									<img src="{dr_avatar($r.uid)}" width="20" class="d-yuanjiao-50"> 
									{if $r.uid == $index['uid']}
            							<span class="">
            								<span class="d-neikuang-1-5 d-wenzi-10 d-beijing-hei-cf d-yuanjiao-5 ">圈 主</span>
            							</span>
            						{/if}
									<a class="d-p-buhuanghang" href="javascript:void(0);" onclick="dr_reply_show_erji_2({$r.id}, '{$r.author}', {$r.id}, '{dr_strcut(dr_clearhtml($r.content), 20)}')">
									{dr_replace_emotion(nl2br(trim($r.content)))}
									<span class="d-wenzi-12">{dr_fdate($r.inputtime)}</span>
									</a>
									<div class="d-clear"></div>
									
								</div>
								<div class="d-clear"></div>
								
							</div>
							<div class="d-kuan-40">
							</div>
							<div class="d-clear"></div>
						</div>
						<div class="ds-replybox2" id="dr_reply_erji_2_{$r.id}" style="display:none;">
						</div>
						<!--第三层-->
						{table table=$pinglun cid=$id reply=$r.id num=200 order=inputtime_asc return=huifusan}
							<div class="d-kuan d-buhuanhang d-neikuang-10-2">
								<div class="d-kuan-100">
									<!--屏蔽-->
									<div class="pull-right " style="z-index: 999;">
										<div class="dropdown d-you-10 " >
											<a class="d-zuo-10" id="d-lahei" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
												<i class="fa fa-eye-slash d-wenzi-14 d-zitiyanse-hui-ca"></i>
											</a>
											<ul class="dropdown-menu " aria-labelledby="d-lahei" >
												<li><a  id="laheipinglunuidan" class="laheipinglunuid d-beijing-baise" data-uid="{$huifusan.uid}"><span class="d-jiacu"><i class="fa fa-eye-slash d-wenzi-16"></i> 拉黑用户</span></br><span class="d-wenzi-12 ">不再看TA的所有帖子和评论</span></a></li>
												<li><a  id="laheipinglunan" class="laheipinglun d-beijing-baise" data-pid="{$huifusan.id}"><i class="fa fa-eye-slash d-wenzi-16"></i><span class="d-jiacu"> 屏蔽评论</span></br><span class="d-wenzi-12 ">不再看这条评论</span></a></a></li>
											</ul>
										</div>
									</div>
									<!--屏蔽-->
								</div>
								<div class="d-kuan d-zuo-10 d-you-10 ">
									
									{if dr_comment_is_reply($is_reply, $member, $huifusan.uid)}
									<!--a class="ds-post-reply" href="javascript:void(0);" onclick="dr_reply_show({$t.id}, '{$t.author}', {$t.id})">
										<span class="ds-ui-icon"></span>
										回复({count($t.rlist)})
									</a-->
									{/if}
									<div class="d-beijing-hei-cf d-neikuang-10-2 d-yuanjiao-10 d-huanhang d-wenzi-16 d-kuan-0 d-hanggao-24 d-a-hui">
										<img src="{dr_avatar($huifusan.uid)}" width="20" class="d-yuanjiao-50"> 
										{if $huifusan.uid == $index['uid']}
                							<span class="">
                								<span class="d-neikuang-1-5 d-wenzi-10 d-beijing-hei-e2 d-yuanjiao-5 ">圈 主</span>
                							</span>
                						{/if}
										<a class="d-p-buhuanghang" href="javascript:void(0);" onclick="dr_reply_show_erji_2({$r.id}, '{$huifusan.author}', {$r.id}, '{dr_strcut(dr_clearhtml($huifusan.content), 20)}')">
										{dr_replace_emotion(nl2br(trim($huifusan.content)))}
										<span class="d-wenzi-12">{dr_fdate($huifusan.inputtime)}</span>
										</a>
										<div class="d-clear"></div>
										
									</div>
									<div class="d-clear"></div>
									
								</div>
								<div class="d-kuan-40">
								</div>
								<div class="d-clear"></div>
							</div>
							<div class="neikuang-pinglun_{$t.id}" id="dr_reply_erji_2_{$huifusan.id}" style="display:none;">
							</div>
							
						{/table}
					{/loop}
				</ul>
				{/if}
			{/if}
        {/loop}
    </ul>

    <!--div class="ds-paginator">
        <div class="ds-border"> </div>
        {$ajax_pages}
    </div-->
    <div class="d-kuan d-gao-80"></div>


    <a name="respond"></a>
    <div id="ds-smilies-tooltip" style="width: {if IS_PC}370{else}200{/if}px;display: none;">
        <div class="ds-smilies-container">
            <ul>
                {loop $emotion $name $file}
                <li>
                    <img src="{$file}" alt="[{$name}]" title="[{$name}]">
                </li>
                {/loop}
            </ul>
        </div>
        <div id="ds-foot5">
            &nbsp;&nbsp;&nbsp;
        </div>
    </div>
</div>
<div class="d-kuan d-gao-80" id="pingling2"></div>
<style>
	.form-control {
	    width: 100%;
	    height: 34px;
	    padding: 6px 12px;
	    background-color: #fff;
	    border: 1px solid #edeff7;
	    color: #3F4254;
	    background-clip: padding-box;
	    border-radius: 5px;
	    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
	    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	}
	textarea.form-control {
	    height: 40px;
		transition: height .2s ease;
	    transition-delay:0.1s;
	}
	textarea:focus{
		height:100px;
		transition-delay:0s;
		border: 1px solid #f4f6ff;
	}
	.d-fabu {
		background-color: #fff;
		border: 1px solid #ffffff;
		border-radius: 5px;
	}
	.dierceng {
		background-color: #ff8000;
		border: 1px solid #ff8000;
		width: 60%;
		color: #ffffff;
		margin-left: 60px;
	}
	#ds-reset input {
	    display: inline;
	    margin: 0 0 0 50px;
	}
</style>
<script>
	/*function dr_reply_show_erji_g() {
		$('.d-yincang-0').hide();
	}*/
	function dr_m_fabu1() {
		$('.mfabulei').show();
	}

	$('[id="laheipinglunuidan"]').click(function(){
		var uid = $(this).data("uid");

		$.ajax({
			  type: "POST",
			  dataType: "json",
			  url: "{SITE_URL}index.php?s=member&app=quan&c=lahei&m=laheiuid",
			  data: 'touid='+uid,
			  success: function(data) {
				  dr_cmf_tips(data.code, data.msg);
			  },
			  error: function(HttpRequest, ajaxOptions, thrownError) {
				  layer.closeAll('loading');
				  alert(HttpRequest.responseText);
			  }
		});
	})
	$('[id="laheipinglunan"]').click(function(){
		var pid = $(this).data("pid");

		$.ajax({
			  type: "POST",
			  dataType: "json",
			  url: "{SITE_URL}index.php?s=member&app=quan&c=lahei&m=laheipinglun",
			  data: 'pid='+pid,
			  success: function(data) {
				  dr_cmf_tips(data.code, data.msg);
			  },
			  error: function(HttpRequest, ajaxOptions, thrownError) {
				  layer.closeAll('loading');
				  alert(HttpRequest.responseText);
			  }
		});
	})
</script>